//
//  WebViewBackForwardList.m
//  CLBrowser
//
//  Created by 梁慧聪 on 2017/3/15.
//  Copyright © 2021年 梁慧聪. All rights reserved.
//

#import "CLWebViewBackForwardList.h"
#import "CLWebViewHistoryItem.h"

@interface CLWebViewBackForwardList ()

@property (nonatomic, strong) CLWebViewHistoryItem *currentItem;
@property (nonatomic, copy) NSArray<CLWebViewHistoryItem *> *backList;
@property (nonatomic, copy) NSArray<CLWebViewHistoryItem *> *forwardList;

@end

@implementation CLWebViewBackForwardList

- (instancetype)initWithCurrentItem:(CLWebViewHistoryItem *)currentItem backList:(NSArray<CLWebViewHistoryItem *> *)backList forwardList:(NSArray<CLWebViewHistoryItem *> *)forwardList{
    if (self = [super init]) {
        _currentItem = currentItem;
        _backList = backList;
        _forwardList = forwardList;
    }
    return self;
}

@end
